home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Utilities / System 7 / AWOL Utilities 1.1 / Menu Events 1.1 / Menu Events Help / Menu Events Help.rsrc / STR#_1025.txt < prev    next >
Encoding:
Text File  |  1994-04-01  |  2.8 KB  |  133 lines

  1. 
  2.  
  3. 
  4.  
  5. 
  6.  
  7. ‚àû
  8.  
  9. ‚àû
  10.  
  11. åPurpose
  12.  
  13. 
  14.  
  15. 
  16.  
  17. The big trend these days in Macintosh software is toward more
  18.  
  19. integration between applications.  Increasingly, developers achieve this
  20.  
  21. integration by using the Apple event interfaces of other applications, and
  22.  
  23. by defining their own suites of Apple events for other applications to use.
  24.  
  25. 
  26.  
  27. 
  28.  
  29. Because there are far more clients than servers in the world of Apple
  30.  
  31. events, there is a large number of applications which are
  32.  
  33. high-level-event-aware, using Apple events to control other applications
  34.  
  35. (or just to be modern), but not offering any interface of their own.  Apart
  36.  
  37. from the Required suite mandated by Finder, the functionality of these
  38.  
  39. applications is beyond the reach of scripting utilities and other programs
  40.  
  41. that send Apple events.  Menu Events is a utility which opens up this
  42.  
  43. demi-monde of dabblers and dilettantes to the glories of Apple event
  44.  
  45. controllability.
  46.  
  47. 
  48.  
  49. If you regard an application‚Äôs collective user interface in terms of a set
  50.  
  51. of available functions, then take subsets according to how the user can
  52.  
  53. access these functions (Command-key combination, button click, menus,
  54.  
  55. and so on), you will usually find that the subset for menus is largest.  This
  56.  
  57. is because menus are intended as a baseline for the user interface;
  58.  
  59. however else you can do something, you should be able to do it with menus
  60.  
  61. as well.  Often a function is not available in a certain mode, but a menu
  62.  
  63. selection will shift the application into that mode, then another will access
  64.  
  65. the function.  This conformity is an asset of the Macintosh operating
  66.  
  67. system which can be exploited to offer a fairly general means of
  68.  
  69. controlling other applications.
  70.  
  71. 
  72.  
  73. 
  74.  
  75. 
  76.  
  77. 
  78.  
  79. ⌃
  80.  
  81. ⌃
  82.  
  83. √•Who Can Use Menu Events?
  84.  
  85. 
  86.  
  87. 
  88.  
  89. You do not need AppleScript, or any other optional software package, for
  90.  
  91. Menu Events to work.  It only requires System 7.
  92.  
  93. 
  94.  
  95. 
  96.  
  97. However, it has no user interface of its own.  It only enables programs to
  98.  
  99. do something they would not otherwise be able to do, namely, invoke
  100.  
  101. another application‚Äôs menu commands.
  102.  
  103. 
  104.  
  105. Any program you write, or any application which lets you compose and
  106.  
  107. send Apple events (such as a general scripting utility, or Maybe, part of
  108.  
  109. AWOL Utilities), can send a Menu event to any suitably modern application
  110.  
  111. and hope for a response.  Whether or not a particular application
  112.  
  113. cooperates depends on how it was programmed, but any application
  114.  
  115. programmed according to the published instructions of Apple Computer
  116.  
  117. will cooperate, with a bit of coaxing.
  118.  
  119. See the section entitled ‚ÄúLimitations‚Äù for more information.
  120.  
  121. 
  122.  
  123. The resource file ‚ÄúMenu Events 'aete'‚Äù contains an 'aete' resource which
  124.  
  125. you can add to any target application, for the benefit of scripting packages
  126.  
  127. such as AppleScript.
  128.  
  129. 
  130.  
  131. 
  132.  
  133.